import json

with open('courts.json', 'r', encoding='utf-8') as f:
    courts = []
    raw = json.load(f)
    for item in raw:
        for court in item['Court']:
            courts.append(court)

    with open('courts.txt', 'w', encoding='utf-8') as w:
        for p in courts:
            w.write(p + '\n')
